<?php
namespace Admin\Model;

class Usergroup extends Base
{
    public $id;
    
    public $name;
    
    public $number;
    
    public function exchangeArray ($data)
    {
    	$this->id = (! empty($data['id'])) ? $data['id'] : null;
    	$this->name = (! empty($data['name'])) ? $data['name'] : null;
    	$this->number = (! empty($data['number'])) ? $data['number'] : null;
    	
    }
}